<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>向表格单元添加背景颜色或者背景图像</title>
</head>

<body>
    <h4>单元背景：</h4>
    <table border="1">
        <tr>
            <td bgcolor="red">First</td>
            <td>Row</td>
        </tr>
        <tr>
            <td background="./WechatIMG4.jpeg">
                Second</td>
            <td>Row</td>
        </tr>
    </table>

</body>

</html>